<template>
  <div class="guojimingxiaozhanshilan">
    <div class="guojimingxiaozhanshilan_title">国际名校展示栏</div>
    <div class="guojimingxiaozhanshilan_list">
      <LoadingComponent
        v-slot="{ loadingFlag }"
        class="guojimingxiaozhanshilan_list_1"
        v-for="it in ModOverseasDates"
        :key="it.over_id"
      >
        <img
          :src="'http://www.shxw114.com:9527/' + it.over_logo"
          v-if="loadingFlag"
        />
        <p>{{ it.over_ename }}</p>
      </LoadingComponent>
    </div>
  </div>
</template>
<script setup>
import { ref } from "@vue/reactivity";
import { ModOverseasGet } from "../../server/index.js";
const ModOverseasDates = ref({});
(async (v) => {
  const { data } = await ModOverseasGet();
  ModOverseasDates.value = data;
})();
</script>
<style scoped>
.guojimingxiaozhanshilan {
  width: 100%;
  height: auto;
}
.guojimingxiaozhanshilan_title {
  width: 100%;
  height: 1.4rem;
  background-color: #15b397;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.4rem;
}
.guojimingxiaozhanshilan_list {
  width: 100%;
  height: auto;
  padding: 0 0.4rem;
  box-sizing: border-box;
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.guojimingxiaozhanshilan_list_1 {
  width: 3.2rem;
  height: auto;
  margin-bottom: 0.4rem;
}
.guojimingxiaozhanshilan_list_1 > img {
  width: 100%;
  height: 3rem;
  display: block;
  margin-bottom: 0.4rem;
}
.guojimingxiaozhanshilan_list_1 > p {
  width: 100%;
  font-size: 0.5rem;
  line-height: 1.2rem;
  text-align: center;
  color: #666;
}
</style>